﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001405 RID: 5125
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyInfo : IMessage<TrainPartyInfo>, IMessage, IEquatable<TrainPartyInfo>, IDeepCloneable<TrainPartyInfo>, IBufferMessage
	{
		// Token: 0x170040AC RID: 16556
		// (get) Token: 0x0600E5A1 RID: 58785 RVA: 0x00266776 File Offset: 0x00264976
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyInfo> Parser
		{
			get
			{
				return TrainPartyInfo._parser;
			}
		}

		// Token: 0x170040AD RID: 16557
		// (get) Token: 0x0600E5A2 RID: 58786 RVA: 0x0026677D File Offset: 0x0026497D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170040AE RID: 16558
		// (get) Token: 0x0600E5A3 RID: 58787 RVA: 0x0026678F File Offset: 0x0026498F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyInfo.Descriptor;
			}
		}

		// Token: 0x0600E5A4 RID: 58788 RVA: 0x00266796 File Offset: 0x00264996
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyInfo()
		{
		}

		// Token: 0x0600E5A5 RID: 58789 RVA: 0x002667CC File Offset: 0x002649CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyInfo(TrainPartyInfo other) : this()
		{
			this.areaList_ = other.areaList_.Clone();
			this.coinCost_ = other.coinCost_;
			this.trainPartyRank_ = other.trainPartyRank_;
			this.nNBHLDDNLDE_ = other.nNBHLDDNLDE_.Clone();
			this.cFJKBJHNIJM_ = other.cFJKBJHNIJM_;
			this.trainPartyTag_ = other.trainPartyTag_;
			this.kCFEECACMOD_ = other.kCFEECACMOD_.Clone();
			this.cDJFDJIAING_ = other.cDJFDJIAING_;
			this.dynamicIdList_ = other.dynamicIdList_.Clone();
			this.hIMCAOKDNMP_ = other.hIMCAOKDNMP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E5A6 RID: 58790 RVA: 0x0026687C File Offset: 0x00264A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyInfo Clone()
		{
			return new TrainPartyInfo(this);
		}

		// Token: 0x170040AF RID: 16559
		// (get) Token: 0x0600E5A7 RID: 58791 RVA: 0x00266884 File Offset: 0x00264A84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyArea> AreaList
		{
			get
			{
				return this.areaList_;
			}
		}

		// Token: 0x170040B0 RID: 16560
		// (get) Token: 0x0600E5A8 RID: 58792 RVA: 0x0026688C File Offset: 0x00264A8C
		// (set) Token: 0x0600E5A9 RID: 58793 RVA: 0x00266894 File Offset: 0x00264A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CoinCost
		{
			get
			{
				return this.coinCost_;
			}
			set
			{
				this.coinCost_ = value;
			}
		}

		// Token: 0x170040B1 RID: 16561
		// (get) Token: 0x0600E5AA RID: 58794 RVA: 0x0026689D File Offset: 0x00264A9D
		// (set) Token: 0x0600E5AB RID: 58795 RVA: 0x002668A5 File Offset: 0x00264AA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TrainPartyRank
		{
			get
			{
				return this.trainPartyRank_;
			}
			set
			{
				this.trainPartyRank_ = value;
			}
		}

		// Token: 0x170040B2 RID: 16562
		// (get) Token: 0x0600E5AC RID: 58796 RVA: 0x002668AE File Offset: 0x00264AAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<HHOKBPHNFNE> NNBHLDDNLDE
		{
			get
			{
				return this.nNBHLDDNLDE_;
			}
		}

		// Token: 0x170040B3 RID: 16563
		// (get) Token: 0x0600E5AD RID: 58797 RVA: 0x002668B6 File Offset: 0x00264AB6
		// (set) Token: 0x0600E5AE RID: 58798 RVA: 0x002668BE File Offset: 0x00264ABE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CFJKBJHNIJM
		{
			get
			{
				return this.cFJKBJHNIJM_;
			}
			set
			{
				this.cFJKBJHNIJM_ = value;
			}
		}

		// Token: 0x170040B4 RID: 16564
		// (get) Token: 0x0600E5AF RID: 58799 RVA: 0x002668C7 File Offset: 0x00264AC7
		// (set) Token: 0x0600E5B0 RID: 58800 RVA: 0x002668CF File Offset: 0x00264ACF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TrainPartyTag
		{
			get
			{
				return this.trainPartyTag_;
			}
			set
			{
				this.trainPartyTag_ = value;
			}
		}

		// Token: 0x170040B5 RID: 16565
		// (get) Token: 0x0600E5B1 RID: 58801 RVA: 0x002668D8 File Offset: 0x00264AD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> KCFEECACMOD
		{
			get
			{
				return this.kCFEECACMOD_;
			}
		}

		// Token: 0x170040B6 RID: 16566
		// (get) Token: 0x0600E5B2 RID: 58802 RVA: 0x002668E0 File Offset: 0x00264AE0
		// (set) Token: 0x0600E5B3 RID: 58803 RVA: 0x002668E8 File Offset: 0x00264AE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CDJFDJIAING
		{
			get
			{
				return this.cDJFDJIAING_;
			}
			set
			{
				this.cDJFDJIAING_ = value;
			}
		}

		// Token: 0x170040B7 RID: 16567
		// (get) Token: 0x0600E5B4 RID: 58804 RVA: 0x002668F1 File Offset: 0x00264AF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DynamicIdList
		{
			get
			{
				return this.dynamicIdList_;
			}
		}

		// Token: 0x170040B8 RID: 16568
		// (get) Token: 0x0600E5B5 RID: 58805 RVA: 0x002668F9 File Offset: 0x00264AF9
		// (set) Token: 0x0600E5B6 RID: 58806 RVA: 0x00266901 File Offset: 0x00264B01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HIMCAOKDNMP
		{
			get
			{
				return this.hIMCAOKDNMP_;
			}
			set
			{
				this.hIMCAOKDNMP_ = value;
			}
		}

		// Token: 0x0600E5B7 RID: 58807 RVA: 0x0026690A File Offset: 0x00264B0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyInfo);
		}

		// Token: 0x0600E5B8 RID: 58808 RVA: 0x00266918 File Offset: 0x00264B18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyInfo other)
		{
			return other != null && (other == this || (this.areaList_.Equals(other.areaList_) && this.CoinCost == other.CoinCost && this.TrainPartyRank == other.TrainPartyRank && this.nNBHLDDNLDE_.Equals(other.nNBHLDDNLDE_) && this.CFJKBJHNIJM == other.CFJKBJHNIJM && this.TrainPartyTag == other.TrainPartyTag && this.kCFEECACMOD_.Equals(other.kCFEECACMOD_) && this.CDJFDJIAING == other.CDJFDJIAING && this.dynamicIdList_.Equals(other.dynamicIdList_) && this.HIMCAOKDNMP == other.HIMCAOKDNMP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E5B9 RID: 58809 RVA: 0x002669F8 File Offset: 0x00264BF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.areaList_.GetHashCode();
			if (this.CoinCost != 0U)
			{
				num ^= this.CoinCost.GetHashCode();
			}
			if (this.TrainPartyRank != 0U)
			{
				num ^= this.TrainPartyRank.GetHashCode();
			}
			num ^= this.nNBHLDDNLDE_.GetHashCode();
			if (this.CFJKBJHNIJM != 0U)
			{
				num ^= this.CFJKBJHNIJM.GetHashCode();
			}
			if (this.TrainPartyTag != 0U)
			{
				num ^= this.TrainPartyTag.GetHashCode();
			}
			num ^= this.kCFEECACMOD_.GetHashCode();
			if (this.CDJFDJIAING != 0U)
			{
				num ^= this.CDJFDJIAING.GetHashCode();
			}
			num ^= this.dynamicIdList_.GetHashCode();
			if (this.HIMCAOKDNMP != 0U)
			{
				num ^= this.HIMCAOKDNMP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E5BA RID: 58810 RVA: 0x00266AEC File Offset: 0x00264CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E5BB RID: 58811 RVA: 0x00266AF4 File Offset: 0x00264CF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E5BC RID: 58812 RVA: 0x00266B00 File Offset: 0x00264D00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CDJFDJIAING != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.CDJFDJIAING);
			}
			if (this.CoinCost != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.CoinCost);
			}
			if (this.TrainPartyRank != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.TrainPartyRank);
			}
			if (this.TrainPartyTag != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.TrainPartyTag);
			}
			this.nNBHLDDNLDE_.WriteTo(ref output, TrainPartyInfo._repeated_nNBHLDDNLDE_codec);
			this.kCFEECACMOD_.WriteTo(ref output, TrainPartyInfo._repeated_kCFEECACMOD_codec);
			this.areaList_.WriteTo(ref output, TrainPartyInfo._repeated_areaList_codec);
			if (this.HIMCAOKDNMP != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.HIMCAOKDNMP);
			}
			if (this.CFJKBJHNIJM != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.CFJKBJHNIJM);
			}
			this.dynamicIdList_.WriteTo(ref output, TrainPartyInfo._repeated_dynamicIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E5BD RID: 58813 RVA: 0x00266C0C File Offset: 0x00264E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.areaList_.CalculateSize(TrainPartyInfo._repeated_areaList_codec);
			if (this.CoinCost != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CoinCost);
			}
			if (this.TrainPartyRank != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TrainPartyRank);
			}
			num += this.nNBHLDDNLDE_.CalculateSize(TrainPartyInfo._repeated_nNBHLDDNLDE_codec);
			if (this.CFJKBJHNIJM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CFJKBJHNIJM);
			}
			if (this.TrainPartyTag != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TrainPartyTag);
			}
			num += this.kCFEECACMOD_.CalculateSize(TrainPartyInfo._repeated_kCFEECACMOD_codec);
			if (this.CDJFDJIAING != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CDJFDJIAING);
			}
			num += this.dynamicIdList_.CalculateSize(TrainPartyInfo._repeated_dynamicIdList_codec);
			if (this.HIMCAOKDNMP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HIMCAOKDNMP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E5BE RID: 58814 RVA: 0x00266D10 File Offset: 0x00264F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.areaList_.Add(other.areaList_);
			if (other.CoinCost != 0U)
			{
				this.CoinCost = other.CoinCost;
			}
			if (other.TrainPartyRank != 0U)
			{
				this.TrainPartyRank = other.TrainPartyRank;
			}
			this.nNBHLDDNLDE_.Add(other.nNBHLDDNLDE_);
			if (other.CFJKBJHNIJM != 0U)
			{
				this.CFJKBJHNIJM = other.CFJKBJHNIJM;
			}
			if (other.TrainPartyTag != 0U)
			{
				this.TrainPartyTag = other.TrainPartyTag;
			}
			this.kCFEECACMOD_.Add(other.kCFEECACMOD_);
			if (other.CDJFDJIAING != 0U)
			{
				this.CDJFDJIAING = other.CDJFDJIAING;
			}
			this.dynamicIdList_.Add(other.dynamicIdList_);
			if (other.HIMCAOKDNMP != 0U)
			{
				this.HIMCAOKDNMP = other.HIMCAOKDNMP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E5BF RID: 58815 RVA: 0x00266DF4 File Offset: 0x00264FF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E5C0 RID: 58816 RVA: 0x00266E00 File Offset: 0x00265000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num <= 40U)
					{
						if (num == 8U)
						{
							this.CDJFDJIAING = input.ReadUInt32();
							continue;
						}
						if (num == 16U)
						{
							this.CoinCost = input.ReadUInt32();
							continue;
						}
						if (num == 40U)
						{
							this.TrainPartyRank = input.ReadUInt32();
							continue;
						}
					}
					else
					{
						if (num == 48U)
						{
							this.TrainPartyTag = input.ReadUInt32();
							continue;
						}
						if (num == 66U)
						{
							this.nNBHLDDNLDE_.AddEntriesFrom(ref input, TrainPartyInfo._repeated_nNBHLDDNLDE_codec);
							continue;
						}
						if (num == 80U)
						{
							goto IL_DE;
						}
					}
				}
				else if (num <= 104U)
				{
					if (num == 82U)
					{
						goto IL_DE;
					}
					if (num == 98U)
					{
						this.areaList_.AddEntriesFrom(ref input, TrainPartyInfo._repeated_areaList_codec);
						continue;
					}
					if (num == 104U)
					{
						this.HIMCAOKDNMP = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 112U)
					{
						this.CFJKBJHNIJM = input.ReadUInt32();
						continue;
					}
					if (num == 120U || num == 122U)
					{
						this.dynamicIdList_.AddEntriesFrom(ref input, TrainPartyInfo._repeated_dynamicIdList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_DE:
				this.kCFEECACMOD_.AddEntriesFrom(ref input, TrainPartyInfo._repeated_kCFEECACMOD_codec);
			}
		}

		// Token: 0x04005ADA RID: 23258
		private static readonly MessageParser<TrainPartyInfo> _parser = new MessageParser<TrainPartyInfo>(() => new TrainPartyInfo());

		// Token: 0x04005ADB RID: 23259
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005ADC RID: 23260
		public const int AreaListFieldNumber = 12;

		// Token: 0x04005ADD RID: 23261
		private static readonly FieldCodec<TrainPartyArea> _repeated_areaList_codec = FieldCodec.ForMessage<TrainPartyArea>(98U, TrainPartyArea.Parser);

		// Token: 0x04005ADE RID: 23262
		private readonly RepeatedField<TrainPartyArea> areaList_ = new RepeatedField<TrainPartyArea>();

		// Token: 0x04005ADF RID: 23263
		public const int CoinCostFieldNumber = 2;

		// Token: 0x04005AE0 RID: 23264
		private uint coinCost_;

		// Token: 0x04005AE1 RID: 23265
		public const int TrainPartyRankFieldNumber = 5;

		// Token: 0x04005AE2 RID: 23266
		private uint trainPartyRank_;

		// Token: 0x04005AE3 RID: 23267
		public const int NNBHLDDNLDEFieldNumber = 8;

		// Token: 0x04005AE4 RID: 23268
		private static readonly FieldCodec<HHOKBPHNFNE> _repeated_nNBHLDDNLDE_codec = FieldCodec.ForMessage<HHOKBPHNFNE>(66U, HHOKBPHNFNE.Parser);

		// Token: 0x04005AE5 RID: 23269
		private readonly RepeatedField<HHOKBPHNFNE> nNBHLDDNLDE_ = new RepeatedField<HHOKBPHNFNE>();

		// Token: 0x04005AE6 RID: 23270
		public const int CFJKBJHNIJMFieldNumber = 14;

		// Token: 0x04005AE7 RID: 23271
		private uint cFJKBJHNIJM_;

		// Token: 0x04005AE8 RID: 23272
		public const int TrainPartyTagFieldNumber = 6;

		// Token: 0x04005AE9 RID: 23273
		private uint trainPartyTag_;

		// Token: 0x04005AEA RID: 23274
		public const int KCFEECACMODFieldNumber = 10;

		// Token: 0x04005AEB RID: 23275
		private static readonly FieldCodec<uint> _repeated_kCFEECACMOD_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04005AEC RID: 23276
		private readonly RepeatedField<uint> kCFEECACMOD_ = new RepeatedField<uint>();

		// Token: 0x04005AED RID: 23277
		public const int CDJFDJIAINGFieldNumber = 1;

		// Token: 0x04005AEE RID: 23278
		private uint cDJFDJIAING_;

		// Token: 0x04005AEF RID: 23279
		public const int DynamicIdListFieldNumber = 15;

		// Token: 0x04005AF0 RID: 23280
		private static readonly FieldCodec<uint> _repeated_dynamicIdList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x04005AF1 RID: 23281
		private readonly RepeatedField<uint> dynamicIdList_ = new RepeatedField<uint>();

		// Token: 0x04005AF2 RID: 23282
		public const int HIMCAOKDNMPFieldNumber = 13;

		// Token: 0x04005AF3 RID: 23283
		private uint hIMCAOKDNMP_;
	}
}
